source(here::here("code/load.R"))

here("data/meta_analyses_raw/EfePugAdn2011/MRA database FINAL 04-04-2008_Variables shared.dta") |>
  read_dta() |>
  mutate(meta_id = "EfePugAdn2011",
         subfield = "PE",
         question = "What is the effect of institutions on economic performance?",
         overall_effect = "yes") |>
  select(meta_id,
         subfield,
         question,
         study_id = author,
         study_year = ypub,
         estimate = PCC,
         std.error = SEpcc,
         dv = sam, # level of growth of output
         overall_effect) |>
  write_csv(here("data/meta_analyses_clean/EfePugAdn2011.csv"))
